include ../../make.misc

OBJS=log.o \
     fs.o \
     tcp.o \
     event.o \
     buffer.o \
     conf.o \
     mem.o \
     utils.o

all: libutils.a

CC=g++
INCLUDE=../includes
CFLAGS=${OGL_CFLAGS}

libutils.a: ${OBJS}
	ar cr libutils.a ${OBJS}
	ranlib libutils.a

${OBJS}: %.o:%.cpp
	${CC} -c ${CFLAGS} -I${INCLUDE} $< -o $@

clean:
	rm -f *.o *.a *.orig *~
